@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>PS现金收支报表管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">

						    <div class="col-sm-3" style="width: 200px">
                                <#SelectCon id="platform" name="平台名称" >
                                    ${deptutil.getPlatformById()}
                                </#SelectCon>
                            </div>
                            <div class="col-lg-2 col-sm-3">
                                <#TimeCon id="beginDate" name="开始时间" isTime="false" pattern="YYYY-MM-DD" value="${tool.currentDate(0)}" />
                            </div>
                            <div class="col-lg-2 col-sm-3">
                                <#TimeCon id="endDate" name="结束时间" isTime="false" pattern="YYYY-MM-DD" value="${tool.currentDate(0)}" />
                            </div>
							<div class="col-lg-2 col-sm-3">
								<#SelectCon id="type" name="收支类型" >
                                    <option value=''>-请选择-</option>
									<option value='1'>收入</option>
									<option value='2'>支出</option>
                                </#SelectCon>
                            </div>

                            <div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="CashExpenditure.search()"/>
								<#button name="重置" icon="fa-trash" clickFun="CashExpenditure.resetSearch()" space="true"/>
                            </div>
                        </div>
                        <div class="hidden-xs" id="CashExpenditureTableToolbar" role="group">
                            @if(shiro.hasPermission("/cashExpenditure/add")){
                                <#button name="添加" icon="fa-plus" clickFun="CashExpenditure.openAddCashExpenditure()"/>
                            @}
                            @if(shiro.hasPermission("/cashExpenditure/update")){
                                <#button name="修改" icon="fa-edit" clickFun="CashExpenditure.openCashExpenditureDetail()" space="true"/>
                            @}
							@if(shiro.hasPermission("/cashExpenditure/addBalance")){
                                <#button name="期初余额设置" icon="fa-edit" clickFun="CashExpenditure.openAddBalance()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/cashExpenditure/delete")){
                                <#button name="删除" icon="fa-remove" clickFun="CashExpenditure.delete()" space="true"/>
                            @}
                            <#button name="导出" icon="fa-load" clickFun="CashExpenditure.operExport()" space="true"/>
                        </div>
                        <#table id="CashExpenditureTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/cash/cashExpenditure/cashExpenditure.js"></script>
@}
